package cmd

import (
	"fmt"
	"github.com/spf13/cobra"
	"os"
)

// TIP To run your code, right-click the code and select <b>Run</b>. Alternatively, click
// the <icon src="AllIcons.Actions.Execute"/> icon in the gutter and select the <b>Run</b> menu item from here.
var initCmd = &cobra.Command{
	Use:   "init",
	Short: "init server info and cli settings",
	Long:  `init server info and cli settings`,
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println("do init")
	},
}

func Execute() {
	if err := initCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}
